v3.25.1

Advances from customers and deferred revenue (Details) ¥ in Thousands, $ in Thousands | Dec. 31, 2024 CNY (¥) | Dec. 31, 2024 USD ($) | Dec. 31, 2023 CNY (¥)
--- | --- | --- | ---
Advances from customers and deferred revenue |  |  |
Deferred revenue, current | ¥ 263,603 |  | ¥ 394,120
Advances from customers | 2,025 |  | 18,137
Total current advances from customers and deferred revenue | 265,628 | $ 36,391 | 412,257
Deferred revenue, non-current | 35,786 |  | 47,864
Total non-current deferred revenue | ¥ 35,786 | $ 4,903 | ¥ 47,864

X
- Definition Advances from customers. + References No definition available. + Details
Name: | huya_AdvancesFromCustomers
Namespace Prefix: | huya_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Advances from customers and deferred revenue [Abstract]. + References No definition available. + Details
Name: | huya_AdvancesFromCustomersAndDeferredRevenueAbstract
Namespace Prefix: | huya_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount of obligation to transfer good or service to customer for which consideration has been received or is receivable, classified as current. + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 606 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479837/606-10-45-1 Reference 2: http://www.xbrl.org/2003/role/disclosureRef -Topic 606 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 8 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479806/606-10-50-8 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 606 -SubTopic 10 -Name Accounting Standards Codification -Section 45 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479837/606-10-45-2 + Details
Name: | us-gaap_ContractWithCustomerLiabilityCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of deferred income excluding obligation to transfer product and service to customer for which consideration has been received or is receivable, classified as current. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name Accounting Standards Codification -Section 25 -Paragraph 2 -SubTopic 10 -Topic 470 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481174/470-10-25-2 + Details
Name: | us-gaap_DeferredIncomeCurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of deferred income excluding obligation to transfer product and service to customer for which consideration has been received or is receivable, classified as noncurrent. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Name Accounting Standards Codification -Section 25 -Paragraph 2 -SubTopic 10 -Topic 470 -Publisher FASB -URI https://asc.fasb.org/1943274/2147481174/470-10-25-2 + Details
Name: | us-gaap_DeferredIncomeNoncurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of deferred income and obligation to transfer product and service to customer for which consideration has been received or is receivable, classified as noncurrent. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(26)(c)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_DeferredRevenueNoncurrent
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant